package com.bishe.demo.modules.hotel.hotelMain.service;

import com.bishe.demo.modules.common.entity.ResultEntity;
import com.bishe.demo.modules.common.entity.SearchBean;
import com.bishe.demo.modules.hotel.hotelMain.entity.HotelMain;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface HotelMainService {
    ResultEntity<HotelMain> insertHotelMain(HotelMain hotelMain);

    List<HotelMain> getHotelMains();

    List<HotelMain> getHotelMainsByProvince(int province);

    List<HotelMain> getHotelMainsByCity(int city);

    List<HotelMain> getHotelMainByArea(int area);

    HotelMain getHotelMainByHotelId(int hotelId);

    HotelMain getHotelMainById(int userId);

    ResultEntity<HotelMain> updateHotelMain(HotelMain hotelMain);

    ResultEntity<HotelMain> deleteHotelMain(int hotelId);

    PageInfo<HotelMain> getHotelsBySearchBeans(SearchBean searchBean);

    List<HotelMain> getHotelMainsForMain();
}
